/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package main;

import Search.Search;
import Search.SearchResultsRelevance;
import java.io.IOException;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Lu
 */
public class TestSearchRelevance {
    public static void main(String[] args) {
        Search s = new Search("GR10 rando pyrénées");
        try {
            s.run();
        } catch (SQLException ex) {
            Logger.getLogger(TestSearch.class.getName()).log(Level.SEVERE, null, ex);
        }
        try {
            SearchResultsRelevance sr = new SearchResultsRelevance("..\\\\qrels\\\\qrel07.txt", s.getParagraphesRelevance());
            System.out.println(sr);
        } catch (IOException ex) {
            Logger.getLogger(TestSearchRelevance.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
